package com.weidft.dal.basedata.dataobject;

import java.util.Date;

public class ThickModulusDO
{
    private Integer id;
    private Date gmtCreate;
    private Date gmtModified;
    private Integer status;
    private Float thickness;
    private Integer co;
    private Float modulus1;
    private Float modulus2;
    private String steelType;

    public Integer getId()
    {
        return id;
    }

    public void setId(Integer id)
    {
        this.id = id;
    }

    public Date getGmtCreate()
    {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate)
    {
        this.gmtCreate = gmtCreate;
    }

    public Date getGmtModified()
    {
        return gmtModified;
    }

    public void setGmtModified(Date gmtModified)
    {
        this.gmtModified = gmtModified;
    }

    public Integer getStatus()
    {
        return status;
    }

    public void setStatus(Integer status)
    {
        this.status = status;
    }

    public Float getThickness()
    {
        return thickness;
    }

    public void setThickness(Float thickness)
    {
        this.thickness = thickness;
    }

    public Integer getCo()
    {
        return co;
    }

    public void setCo(Integer co)
    {
        this.co = co;
    }

    public Float getModulus1()
    {
        return modulus1;
    }

    public void setModulus1(Float modulus1)
    {
        this.modulus1 = modulus1;
    }

    public Float getModulus2()
    {
        return modulus2;
    }

    public void setModulus2(Float modulus2)
    {
        this.modulus2 = modulus2;
    }

    public String getSteelType()
    {
        return steelType;
    }

    public void setSteelType(String steelType)
    {
        this.steelType = steelType;
    }
    
    public String getThicknessInfo()
    {
        if (co == 1)
        {
            return ">" + thickness;
        }
        return String.valueOf(thickness);
    }
    
//    public String getModulus2Info()
//    {
//        if (co == 1)
//        {
//            return ">" + modulus2;
//        }
//        return String.valueOf(modulus2);
//    }
}
